<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>广告申请列表</title>
</head>
<body>
	<font>当前页:第${pageView.currentpage}页 | 总记录数:${pageView.totalrecord}条 | 每页显示:${pageView.maxrecord}条 | 总页数:${pageView.totalpage}页</font>　
	<br/>
	<s:iterator begin="pageView.pageindex.startindex" end="pageView.pageindex.endindex" var="pageIndex">
		<s:if test="pageView.currentpage==#pageIndex">
			<b><font color="#00ffff">${pageIndex}</font></b>
		</s:if>
		<s:else> 
			<a  onclick="changeCenter('/control/book/ad_list.go','maxrecord=3&page=${pageIndex}&shopid=${shop.id}','#right_content_sell')">[${pageIndex}]</a>
		</s:else>
	</s:iterator>
					
	<s:iterator value="pageView.records" var="ad_list">
		<dl style="overflow: hidden;width: 650px;border-bottom: 1px dashed gray;margin-bottom: 10px;">
				<dt style="float: left; margin-right: 10px;">
					<img alt="${ad_list.name}" src="${ad_list.logo}" width="100">
				</dt>
				<dd >书籍名称：<a>${ad_list.name}</a></dd>
				<dd>
					<s:if test="#ad_list.flag==100"><font color="#ff9933">等待审核<BR/></font> </s:if>
					<s:if test="#ad_list.flag==200"><font color="#0099ff">同意申请<BR/></font></s:if>
					<s:if test="#ad_list.flag==300"><font color="#ff0000">拒绝申请<BR/></font></s:if>
					${ad_list.word}
				</dd>
			</dl>
	</s:iterator>
</body>
</html>